using namespace std;

class Command {
	private :
		int inputStream;
		int outputStream;
		string command;
		string commandWithArgs;
		bool background;
		bool internal;
		bool out_append;
		bool in_append;
		string inputFile;
		string outputFile;

	public :

		Command() {
			inputStream=-1;
			outputStream=-1;
		}		
	
		int getInputStream() {
			return inputStream;
		}
		
		int getOutputStream() {
			return outputStream;
		}

		void setInputStream(int input) {
			inputStream = input;
		}

		void setOutputStream(int output) {
			outputStream = output;
		}
		
		string getCommand() {
			return command;
		}

		void setCommand(string com) {
			command = com;
		}

		string getInputFile() {
			return inputFile;
		}

		void setInputFile(string in) {
			inputFile = in;
		}

		string getOutputFile() {
			return outputFile;
		}

		void setOutputFile(string out) {
			outputFile = out;
		}

		string getCommandWithArgs() {
			return commandWithArgs;
		}

		void setCommandWithArgs(string com) {
			commandWithArgs = com;
		}

		bool isBackground() {
			return background;
		}

		void setBackground(bool isBack) {
			background = isBack;
		}

		bool isOutAppend() {
			return out_append;
		}

		void setOutAppend(bool isAppend) {
			out_append = isAppend;
		}
		
		bool isInAppend() {
			return in_append;
		}

		void setInAppend(bool isAppend) {
			in_append = isAppend;
		}
		bool isInternal() {
			return internal;
		}

		void setInternal(bool inter) {
			internal = inter;
		}

};
